import crypto from 'crypto';

export const md5 = (sign: string) => {
  const md5Hash = crypto.createHash('md5');
  md5Hash.update(sign);
  return md5Hash.digest('hex');
};
